//
//  VideoModel.h
//  SmartiOSPublisher
//
//  Created by Liu,Qingcan on 2017/4/25.
//  Copyright © 2017年 Baidu. All rights reserved.
//

#import <Foundation/Foundation.h>

#import "PersistenceCommon.h"
#import "Video+CoreDataClass.h"
#import "LEVideoRoom.h"


@interface VideoModel : NSObject
@property (nonatomic,weak)PersistenceCommon *persistence;


- (void)insertVideoData:(LEVideoRoom *)item;
- (NSArray *)selectNumberOfData:(NSInteger)number;
- (void)deleteVideo:(Video *)item;
- (void)updateVideo:(Video *)item;
- (void)deleteAllVideo;
- (NSArray *)selectVideos:(NSInteger)roomId;
@end

